package com.cy.补充.third;

import java.util.ArrayList;
import java.util.List;

public class Test {
    public static void main(String[] args) {

        //List<Animal> animalList = new ArrayList<>();
        //animalList.add(new Animal());
        //animalList.add(new Animal());
        //animalList.add(new Animal());

        List<Cat> catList = new ArrayList<>();
        catList.add(new Cat());
        catList.add(new Cat());
        catList.add(new Cat());

        //List<BoSiCat> boSiCatList = new ArrayList<>();
        //boSiCatList.add(new BoSiCat());
        //boSiCatList.add(new BoSiCat());
        //boSiCatList.add(new BoSiCat());

        SiYangYuan syy = new SiYangYuan();
        syy.wei2(catList);
    }
}
